package com.yunqiao.service.api.mapper;

import com.yunqiao.service.api.entity.MessageEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 消息表
 *
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-02 15:03:56
 */
@Mapper
public interface MessageMapper extends BaseMapper<MessageEntity> {
    /**
     * 发订单后批量发送消息
     * @param ids
     * @param content
     * @param orderId
     */
    void insertBatchMessage(@Param("ids") List<Long> ids, @Param("content") String content, @Param("orderId") Long orderId);
}
